<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
 
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>  
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'register.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
 
 
  提交给onLogin
  <HR/>
  ${loginError}
   <HR/>
  <form:form commandName="loginView" action="./formLogin.do" >
  
  
用户登陆<input type="text" name="loUser" value="${loginView.loUser}"><form:errors path="loUser"  /><br/>  
  <br>
  密码：<input type="text" name="loPassword" value="${loPassword}"><form:errors path="loPassword"  /><br>
  验证码：<input type="text" name="verify"><img src="./system/jpgVerify" width="60px" height="28px" /> ${verifyError} <br>
<input type="submit" value="登陆 "><br>
</form:form>   
 <a href="">忘记密码</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="./register">注册账户</a><br>
  </body>
</html>
